package com.joinway.ecshop.bean.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.Lob;

import com.joinway.framework.bean.BaseBean;


/**
 * The persistent class for the jydshop_goods database table.
 * 
 */
@Entity
//@Table(name="ec_shop_goods")
//@NamedQuery(name="EcShopGood.findAll", query="SELECT e FROM EcShopGood e")
@Inheritance
public abstract class EcShopGood extends BaseBean  {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="goods_id")
	private int goodsId;

	@Column(name="add_time")
	private int addTime;

	@Column(name="bonus_type_id")
	private int bonusTypeId;

	@Column(name="brand_id")
	private int brandId;

	@Column(name="cat_id")
	private int catId;

	@Column(name="click_count")
	private int clickCount;

	@Column(name="extension_code")
	private String extensionCode;

	@Column(name="give_integral")
	private int giveIntegral;

	@Column(name="goods_brief")
	private String goodsBrief;

	@Lob
	@Column(name="goods_desc")
	private String goodsDesc;

	@Column(name="goods_img")
	private String goodsImg;

	@Column(name="goods_name")
	private String goodsName;

	@Column(name="goods_name_style")
	private String goodsNameStyle;

	@Column(name="goods_number")
	private int goodsNumber;

	@Column(name="goods_sn")
	private String goodsSn;

	@Column(name="goods_thumb")
	private String goodsThumb;

	@Column(name="goods_type")
	private int goodsType;

	@Column(name="goods_weight")
	private double goodsWeight;

	private int integral;

	@Column(name="is_alone_sale")
	private int isAloneSale;

	@Column(name="is_best")
	private int isBest;

	@Column(name="is_check")
	private int isCheck;

	@Column(name="is_delete")
	private int isDelete;

	@Column(name="is_hot")
	private int isHot;

	@Column(name="is_new")
	private int isNew;

	@Column(name="is_on_sale")
	private int isOnSale;

	@Column(name="is_promote")
	private int isPromote;

	@Column(name="is_real")
	private int isReal;

	@Column(name="is_shipping")
	private int isShipping;

	private String keywords;

	@Column(name="last_update")
	private int lastUpdate;

	@Column(name="market_price")
	private double marketPrice;

	@Column(name="original_img")
	private String originalImg;

	@Column(name="promote_end_date")
	private int promoteEndDate;

	@Column(name="promote_price")
	private double promotePrice;

	@Column(name="promote_start_date")
	private int promoteStartDate;

	@Column(name="provider_name")
	private String providerName;

	@Column(name="rank_integral")
	private int rankIntegral;

	@Column(name="seller_note")
	private String sellerNote;

	@Column(name="shop_price")
	private double shopPrice;

	@Column(name="sort_order")
	private int sortOrder;

	@Column(name="suppliers_id")
	private int suppliersId;

	@Column(name="warn_number")
	private int warnNumber;

	public EcShopGood() {
	}

	public int getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(int goodsId) {
		this.goodsId = goodsId;
	}

	public int getAddTime() {
		return this.addTime;
	}

	public void setAddTime(int addTime) {
		this.addTime = addTime;
	}

	public int getBonusTypeId() {
		return this.bonusTypeId;
	}

	public void setBonusTypeId(int bonusTypeId) {
		this.bonusTypeId = bonusTypeId;
	}

	public int getBrandId() {
		return this.brandId;
	}

	public void setBrandId(int brandId) {
		this.brandId = brandId;
	}

	public int getCatId() {
		return this.catId;
	}

	public void setCatId(int catId) {
		this.catId = catId;
	}

	public int getClickCount() {
		return this.clickCount;
	}

	public void setClickCount(int clickCount) {
		this.clickCount = clickCount;
	}

	public String getExtensionCode() {
		return this.extensionCode;
	}

	public void setExtensionCode(String extensionCode) {
		this.extensionCode = extensionCode;
	}

	public int getGiveIntegral() {
		return this.giveIntegral;
	}

	public void setGiveIntegral(int giveIntegral) {
		this.giveIntegral = giveIntegral;
	}

	public String getGoodsBrief() {
		return this.goodsBrief;
	}

	public void setGoodsBrief(String goodsBrief) {
		this.goodsBrief = goodsBrief;
	}

	public String getGoodsDesc() {
		return this.goodsDesc;
	}

	public void setGoodsDesc(String goodsDesc) {
		this.goodsDesc = goodsDesc;
	}

	public String getGoodsImg() {
		return this.goodsImg;
	}

	public void setGoodsImg(String goodsImg) {
		this.goodsImg = goodsImg;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsNameStyle() {
		return this.goodsNameStyle;
	}

	public void setGoodsNameStyle(String goodsNameStyle) {
		this.goodsNameStyle = goodsNameStyle;
	}

	public int getGoodsNumber() {
		return this.goodsNumber;
	}

	public void setGoodsNumber(int goodsNumber) {
		this.goodsNumber = goodsNumber;
	}

	public String getGoodsSn() {
		return this.goodsSn;
	}

	public void setGoodsSn(String goodsSn) {
		this.goodsSn = goodsSn;
	}

	public String getGoodsThumb() {
		return this.goodsThumb;
	}

	public void setGoodsThumb(String goodsThumb) {
		this.goodsThumb = goodsThumb;
	}

	public int getGoodsType() {
		return this.goodsType;
	}

	public void setGoodsType(int goodsType) {
		this.goodsType = goodsType;
	}

	public double getGoodsWeight() {
		return this.goodsWeight;
	}

	public void setGoodsWeight(double goodsWeight) {
		this.goodsWeight = goodsWeight;
	}

	public int getIntegral() {
		return this.integral;
	}

	public void setIntegral(int integral) {
		this.integral = integral;
	}

	public int getIsAloneSale() {
		return this.isAloneSale;
	}

	public void setIsAloneSale(int isAloneSale) {
		this.isAloneSale = isAloneSale;
	}

	public int getIsBest() {
		return this.isBest;
	}

	public void setIsBest(int isBest) {
		this.isBest = isBest;
	}

	public int getIsCheck() {
		return this.isCheck;
	}

	public void setIsCheck(int isCheck) {
		this.isCheck = isCheck;
	}

	public int getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(int isDelete) {
		this.isDelete = isDelete;
	}

	public int getIsHot() {
		return this.isHot;
	}

	public void setIsHot(int isHot) {
		this.isHot = isHot;
	}

	public int getIsNew() {
		return this.isNew;
	}

	public void setIsNew(int isNew) {
		this.isNew = isNew;
	}

	public int getIsOnSale() {
		return this.isOnSale;
	}

	public void setIsOnSale(int isOnSale) {
		this.isOnSale = isOnSale;
	}

	public int getIsPromote() {
		return this.isPromote;
	}

	public void setIsPromote(int isPromote) {
		this.isPromote = isPromote;
	}

	public int getIsReal() {
		return this.isReal;
	}

	public void setIsReal(int isReal) {
		this.isReal = isReal;
	}

	public int getIsShipping() {
		return this.isShipping;
	}

	public void setIsShipping(int isShipping) {
		this.isShipping = isShipping;
	}

	public String getKeywords() {
		return this.keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	public int getLastUpdate() {
		return this.lastUpdate;
	}

	public void setLastUpdate(int lastUpdate) {
		this.lastUpdate = lastUpdate;
	}

	public double getMarketPrice() {
		return this.marketPrice;
	}

	public void setMarketPrice(double marketPrice) {
		this.marketPrice = marketPrice;
	}

	public String getOriginalImg() {
		return this.originalImg;
	}

	public void setOriginalImg(String originalImg) {
		this.originalImg = originalImg;
	}

	public int getPromoteEndDate() {
		return this.promoteEndDate;
	}

	public void setPromoteEndDate(int promoteEndDate) {
		this.promoteEndDate = promoteEndDate;
	}

	public double getPromotePrice() {
		return this.promotePrice;
	}

	public void setPromotePrice(double promotePrice) {
		this.promotePrice = promotePrice;
	}

	public int getPromoteStartDate() {
		return this.promoteStartDate;
	}

	public void setPromoteStartDate(int promoteStartDate) {
		this.promoteStartDate = promoteStartDate;
	}

	public String getProviderName() {
		return this.providerName;
	}

	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}

	public int getRankIntegral() {
		return this.rankIntegral;
	}

	public void setRankIntegral(int rankIntegral) {
		this.rankIntegral = rankIntegral;
	}

	public String getSellerNote() {
		return this.sellerNote;
	}

	public void setSellerNote(String sellerNote) {
		this.sellerNote = sellerNote;
	}

	public double getShopPrice() {
		return this.shopPrice;
	}

	public void setShopPrice(double shopPrice) {
		this.shopPrice = shopPrice;
	}

	public int getSortOrder() {
		return this.sortOrder;
	}

	public void setSortOrder(int sortOrder) {
		this.sortOrder = sortOrder;
	}

	public int getSuppliersId() {
		return this.suppliersId;
	}

	public void setSuppliersId(int suppliersId) {
		this.suppliersId = suppliersId;
	}

	public int getWarnNumber() {
		return this.warnNumber;
	}

	public void setWarnNumber(int warnNumber) {
		this.warnNumber = warnNumber;
	}

}